/**
 * 
 */
package cn.antia.cwin.grid;

import cn.antia.cwin.NormalTD;

import java.util.List;

/**
 * @author sunkeei
 * @date Nov 21, 2007
 * @version 0.11
 * @time 
 */
public class AntiaNormalTable {
	private String id;
	private List conditions;	//查询条件
	private int condColNum = 2;	//条件行数
	
	private String desc;		//表格说明
	private List<List<NormalTD>> rows; 			//表格行，存储了对象数组List<NormalTD>
	private String windowId; 	//Window ID
	private String gridId;		//GRID ID
	private List<NormalTD> th; 			//表头List，存储NormailTD对象，ROWS中的LIST必须根据TH的顺序排序
	
	private int recordCount;	//记录总数
	private int currentPage;	//当前页数
	private int pageSize;		//页记录数
	private int pageCount;		//页总数
	
	public List<List<NormalTD>> getRows() {
		return rows;
	}
	public void setRows(List<List<NormalTD>> rows) {
		this.rows = rows;
	}
	public String getGridId() {
		return gridId;
	}
	public void setGridId(String gridId) {
		this.gridId = gridId;
	}
	public List<NormalTD> getTh() {
		return th;
	}
	public void setTh(List<NormalTD> th) {
		this.th = th;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public List getConditions() {
		return conditions;
	}
	public void setConditions(List conditions) {
		this.conditions = conditions;
	}
	public int getCondColNum() {
		return condColNum;
	}
	public void setCondColNum(int condColNum) {
		this.condColNum = condColNum;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getRecordCount() {
		return recordCount;
	}
	public void setRecordCount(int recordCount) {
		this.recordCount = recordCount;
	}
	public int getPageCount() {
		return pageCount;
	}
	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}
	public String getWindowId() {
		return windowId;
	}
	public void setWindowId(String windowId) {
		this.windowId = windowId;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
}
